package src.D_WinSock;

import java.io.File;
import java.io.Serializable;

public class D02_TCP_Bean implements Serializable {
    private static final long serialVersionUID = 7201818035818937609L;
    private String txt;
    private File img;

    public D02_TCP_Bean() {
    }

    public D02_TCP_Bean(String txt, File img) {
        this.txt = txt;
        this.img = img;
    }

    public String getTxt() {
        return txt;
    }

    public void setTxt(String txt) {
        this.txt = txt;
    }

    public File getImg() {
        return img;
    }

    public void setImg(File img) {
        this.img = img;
    }

    @Override
    public String toString() {
        return "D02_TCP_Bean{" +
                "txt='" + txt + '\'' +
                ", img=" + img +
                '}';
    }
}
